<template>
  <div>
    <button @click="test1">
        测试1
    </button>
    <button @click="test2">
        测试2
    </button>
  </div>
</template>

<script>
export default {
  data() {
    return {
        proposerId:74
    };
  },
  methods: {
    test1(){
        this.$router.push({path:"/Pressp",query:{proposerId:this.proposerId}});
    },
    test2(){
        this.$router.push({path:"/Pressz",query:{proposerId:this.proposerId}});
    }
  },
};
</script>